<!--查看经纪人详情-->
<div i="content" class="ui-dialog-content">
    <div style="width:800px;height:500px;position: relative;overflow: auto;">
        <table width="100%" class="f12" style="margin-bottom: 20px;">
            <tbody>
            <tr>
                <td colspan="3" style="font-weight: bold;" class="f12 c1"><p class="p-category">经纪人信息</p></td>
            </tr>
            <tr>
                <td width="100" height="30">姓名：<span class="c-black f13">{{data.broker_name}}</span></td>
                <td width="250">性别：<span class="c-black f13">{{data.gender}}</span></td>
                <td height="30">手机：<span class="c-black f13">{{data.mobile_tel}}</span></td>
            </tr>
            <tr>
                <td colspan="3" height="30">身份证号码：<span class="c-black f13">{{data.cre_no}}</span></td>
            </tr>
            <tr>
                <td valign="bottom">
                    <img ng-src="{{data.card_img_a||'/public/images/pic/blank.png'}}" show-preview
                         class="border-line fl"
                         style="width: 155px;height: 90px; margin-bottom: 10px;"/><span
                        style=" display: inline-block;  margin: 74px 0 0 5px;">正面</span>
                </td>
                <td>
                    <img ng-src="{{data.card_img_b||'/public/images/pic/blank.png'}}" show-preview
                         class="border-line fl"
                         style="width: 155px;height: 90px; margin-bottom: 10px;"/><span
                        style=" display: inline-block;  margin: 74px 0 0 5px;">反面</span>
                </td>
            </tr>
            <tr>
                <td height="30">银行卡号：<span class="c-black f13">  {{data.bank_account}}</span></td>
                <td height="30">开户银行：<span class="c-black f13">  {{data.bank_name}}</span></td>
                <td>支行名称：<span class="c-black f13">  {{data.bank_sub_branch}}</span></td>
            </tr>
            <tr style="border-bottom: 1px dashed #d9d9d9; height: 100px;">
                <td colspan="3">
                    <img ng-src="{{data.bank_card_img||'/public/images/pic/blank.png'}}" show-preview
                         class="border-line fl"
                         style="width: 155px;height: 90px; margin-bottom: 10px;"/><span
                        style=" display: inline-block;  margin: 74px 0 0 5px;">正面</span>
                </td>
            </tr>
            <tr>
                <td colspan="3" style="font-weight: bold;" class="f12 c1 pt16"><p class="p-category">身份信息</p></td>
            </tr>
            <tr>
                <td width="250" height="30">身份说明：<span class="c-black f13">{{data.capacity_des_info}}</span>
                </td>
                <td>所属公司：<span class="c-black f13">{{data.belongs_company_info}}</span></td>
                <td width="250" height="30" class="pb10">门店邀请码：<span class="c-black f13">{{data.store_code}}</span>
                </td>
            </tr>
            <tr style="border-bottom: 1px dashed #d9d9d9;">
                <td colspan="3" class="pb10">城市：<span class="c-black f13">{{data.city_name}}</span></td>
            </tr>
            <tr>
                <td colspan="3" style="font-weight: bold;" class="f12 c1 pt16"><p class="p-category">上线经纪人信息</p></td>
            </tr>
            <tr style="border-bottom: 1px dashed #d9d9d9;">
                <td width="250" height="30" class="pb10">上线经纪人姓名：<span
                        class="c-black f13">{{data.parent_broker_name}}</span></td>
                <td colspan="2" class="pb10">上经经纪人手机：<span class="c-black f13">{{data.parent_broker_mobile_tel}}</span></td>
            </tr>
            <tr>
                <td colspan="3" style="font-weight: bold;" class="f12 c1 pt16"><p class="p-category">审核信息</p></td>
            </tr>
            <tr>
                <td width="250" height="30">审核状态：<span class="c-black f13">{{data.status_info}}</span></td>
                <td colspan="2" >审核时间：<span class="c-black f13">{{data.audit_date}}</span></td>
            </tr>
            <tr style="border-bottom: 1px dashed #d9d9d9;">
                <td width="250" height="30">修改人：<span class="c-black f13">{{data.modify_user}}</span></td>
                <td>修改时间：<span class="c-black f13">{{data.modify_date}}</span></td>
                <td height="30">注册时间：<span class="c-black f13">{{data.reg_date}}</span></td>
            </tr>
            <tr>
                <td colspan="3" style="font-weight: bold;" class="f12 c1 pt16"><p class="p-category">权限信息</p></td>
            </tr>
            <tr style="border-bottom: 1px dashed #d9d9d9;">
                <td width="250" height="30">是否启用：<span class="c-black f13">{{data.isdisabled?"否":"是"}}</span></td>
                <td>是否可以邀请经纪人：<span class="c-black f13">{{data.can_invite_broker?"是":"否"}}</span></td>
                <td height="30" class="pb10"></td>
            </tr>
            <tr ng-if="data.custom_data.zidingyi||data.custom_data.tujianrenname||data.custom_data.institution||data.custom_data.recommender">
                <td colspan="3" style="font-weight: bold;" class="f12 c1 pt16"><p class="p-category">其它信息</p></td>
            </tr>
            <tr>
                <td width="250" height="30" ng-if="data.custom_data.institution">
                    {{data.custom_schema.institution}}:<span class="c-black f13">{{data.custom_data.institution}}</span>
                </td>
                <td ng-if="data.custom_data.recommender">{{data.custom_schema.recommender}}:<span class="c-black f13">{{data.custom_data.recommender}}</span>
                </td>
                <td ng-if="data.custom_data.tujianrenname" colspan="2" height="30" class="pb10">
                    {{data.custom_schema.tujianrenname}}:<span class="c-black f13">{{data.tujianrenname}}</span></td>
            </tr>
            <tr ng-if="data.custom_data.zidingyi">
                <td colspan="3" height="30">{{data.custom_schema.zidingyi}}:<span class="c-black f13">{{data.custom_data.zidingyi}}</span>
                </td>
            </tr>
            </tbody>
        </table>
    </div>
    <div class="btn-group" style="text-align: center;">
        <div style="width:250px;margin: 0 auto;">
        <span>
        <a href="javascript: void(0)" class="btn permission p-50030601-01-block"
           ui-dialog="提示"
           ui-dialog-cache="false"
           ui-dialog-ok="setStatus(data,1)"
           ui-dialog-template="<div><p>确认审核通过该经纪人吗？</p></div>"
           ng-if="!currentState.audited&&data.status!=1">审核通过</a>
        <a href="javascript: void(0)" class="btn permission p-50030601-01-block"
           ui-dialog="提示"
           ui-dialog-cache="false"
           ui-dialog-ok="setStatus(data,2)"
           ui-dialog-template="<div><p>确认审核不通过该经纪人吗？</p></div>"
           ng-if="!currentState.audited&&data.status!=2">审核不通过</a>
        </span>
            <a href="javascript:;" ng-if="currentState.audited&&!data.isdisabled"
               class="btn permission p-50030601-02-block"
               ng-click="handleBroker(data,'disable')">禁用</a>
            <a href="javascript:;" ng-if="currentState.audited&&data.isdisabled"
               class="btn permission p-50030601-02-block"
               ng-click="handleBroker(data,'enable')">启用</a>
            <a href="javascript:;" ng-if="!data.can_invite_broker" class="btn permission p-50030601-07-block"
               ng-click="setInvite(data,true)">启用邀请经纪人</a>
            <a href="javascript:;" ng-if="data.can_invite_broker" class="btn permission p-50030601-07-block"
               ng-click="setInvite(data,false)">禁用邀请经纪人</a>
        </div>
    </div>
</div>